<?php
require_once "../../../libs/ttServer.php";

$tt = new ttServer();


$friend_id = secureGET("uid");


//var_dump($tt->session->user);
$host_id = $tt->session->user['uid'];

//echo $host_id;
//echo $friend_id;
echo FormatAPIOutput($tt->add_collection_to_list($host_id, $friend_id));

?>